package cn.iocoder.yudao.module.member.controller.admin.userpointrecords.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 用户积分流水 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserPointRecordsRespVO {

    @Schema(description = "租户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "25035")
    @ExcelProperty("租户编号")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "用户id", example = "8104")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "操作类型：0 增加；1 扣减；", example = "1")
    @ExcelProperty("操作类型：0 增加；1 扣减；")
    private Integer opType;

    @Schema(description = "业务类型")
    @ExcelProperty("业务类型")
    private Integer bizType;

    @Schema(description = "业务id", example = "27086")
    @ExcelProperty("业务id")
    private Long bizId;

    @Schema(description = "变动积分")
    @ExcelProperty("变动积分")
    private Integer points;

    @Schema(description = "变动后的积分")
    @ExcelProperty("变动后的积分")
    private Integer totalPoints;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

}